
	public boolean drawPlayerInfo = false;
	public int shownPlayerInfo = 0;

	public void drawPlayerInfo()
	{
		cGame_g.setFont(DGraph.FONT_SMALL);
		
		String action = "";
		int putableArmies = tegPlayers[shownPlayerInfo].armies;
		
		if(cPlayer.turn == shownPlayerInfo)
		{
			if(cPlayer.roundType == INGAME.ROUND_TYPE_PUT_ARMIES)
				action = TEXT.INGAME_PLAYER_INFO_PUTTING;
			else
			{
				if(!hasPickedCard)
				{
					if(!regrouping)
						action = TEXT.INGAME_PLAYER_INFO_ATTACKING;
					else
						action = TEXT.INGAME_PLAYER_INFO_REGROUPING;
				}
				else
				{
					action = TEXT.INGAME_PLAYER_INFO_FINISHED;
				}
			}
		}
		else
		{
			action = TEXT.INGAME_PLAYER_INFO_WAITING;
		}
		
		for(int i = COUNTRY_INFO.NORTH_AMERICA; i < COUNTRY_INFO.TOTAL_CONTINENTS; i++)
		{
			if(hasContinent(i) && tegCountries[firstCountryOfContinent(i)].owner == shownPlayerInfo)
			{
				putableArmies += cCountry.continentArmies[i];
			}
		}
	
		String[] playerInfo = {
					TEXT.INGAME_PLAYER_INFO_PLAYER,
					TEXT.INGAME_PLAYER_INFO_COUNTRIES + playerCountries(shownPlayerInfo),
					TEXT.INGAME_PLAYER_INFO_AV_ARMIES + putableArmies,
					TEXT.INGAME_PLAYER_INFO_CARDS,
					TEXT.INGAME_PLAYER_INFO_ACTION + action
					};
		
		#if SCREEN_WIDTH==128
		int x = INGAME.VIEWPORT_X + INGAME.PLAYER_INFO_VIEWPORT_OFFSET;
		#else
		int x = 0;
		#endif
		int height = ((playerInfo.length - 1) * cGame_g.getFontHeight()) + ((playerInfo.length - 1) * cGame_g.getFontPixelSize()) + INGAME.PLAYER_INFO_VIEWPORT_OFFSET * 2;
		#if SCREEN_WIDTH==128
		int y = INGAME.VIEWPORT_Y + INGAME.VIEWPORT_H - (height + INGAME.PLAYER_INFO_VIEWPORT_OFFSET);
		#else
			#ifndef INFO_ON_TOP
			int y = INGAME.VIEWPORT_Y + INGAME.VIEWPORT_H / 2 -  height / 2;
			#else
			int y = INGAME.VIEWPORT_Y + cGame_g.getFontHeight();
			#endif
		#endif
	
		#if SCREEN_WIDTH!=128
		if(cameraX + INGAME.VIEWPORT_W / 2 > boardImg.getWidth() / 2)
		{
			x = INGAME.VIEWPORT_X + INGAME.PLAYER_INFO_VIEWPORT_OFFSET;
		}
		else
		{
			x = INGAME.VIEWPORT_X + INGAME.VIEWPORT_W - INGAME.PLAYER_INFO_W - INGAME.PLAYER_INFO_VIEWPORT_OFFSET;
		}
		#endif
		
		#ifdef USE_DRAWRGB
		cGame_g.setColor(MENUS.MAIN_MENU_BACKGROUND_COLOR);
		cGame_g.drawAlphaRect(x, y, INGAME.PLAYER_INFO_W, height, MENUS.MAIN_MENU_ALPHA_LEVEL);
		#else
		cGame_g.setColor(MENUS.MAIN_MENU_BACKGROUND_COLOR);
		cGame_g.fillRect(x, y, INGAME.PLAYER_INFO_W, height);
		#endif
		cGame_g.setColor(INGAME.TOKEN_BORDER_COLOR);
		cGame_g.drawRect(x, y, INGAME.PLAYER_INFO_W, height);
				
		for(int i = 0; i < playerInfo.length; i++)
		{
			if(i != 0)
			{
				cGame_g.setFontColor(MENUS.MAIN_MENU_HIGHLIGHT_COLOR);
				cGame_g.drawString(playerInfo[i], x + INGAME.PLAYER_INFO_VIEWPORT_OFFSET, y + height / 2 - (cGame_g.getFontHeight() * playerInfo.length) / 2 - (cGame_g.getFontPixelSize() * (playerInfo.length - 1)) / 2 + cGame_g.getFontPixelSize() * i + cGame_g.getFontHeight() * i, DSmallFont.LEFT | DSmallFont.TOP);
			}
			else
			{
				cGame_g.setFontColor(MENUS.MAIN_MENU_HIGHLIGHT_COLOR);
				cGame_g.drawString(playerInfo[i], x + INGAME.PLAYER_INFO_VIEWPORT_OFFSET, y + height / 2 - (cGame_g.getFontHeight() * playerInfo.length) / 2 - (cGame_g.getFontPixelSize() * (playerInfo.length - 1)) / 2 + cGame_g.getFontPixelSize() * i + cGame_g.getFontHeight() * i, DSmallFont.LEFT | DSmallFont.TOP);
				cGame_g.setFontColor(tegPlayers[shownPlayerInfo].color);
				cGame_g.drawString(tegPlayers[shownPlayerInfo].name, x + INGAME.PLAYER_INFO_VIEWPORT_OFFSET + cGame_g.getStringWidth(playerInfo[i]), y + height / 2 - (cGame_g.getFontHeight() * playerInfo.length) / 2 - (cGame_g.getFontPixelSize() * (playerInfo.length - 1)) / 2 + cGame_g.getFontPixelSize() * i + cGame_g.getFontHeight() * i, DSmallFont.LEFT | DSmallFont.TOP);
			}
		}
			
		cGame_g.setFont(DGraph.FONT_BIG);
	}
	
	boolean drawIngameHelp = false;
	
	public void drawIngameHelp()
	{
		cGame_g.setFont(DGraph.FONT_SMALL);
	
		int maxWidth = 0;
		int totalHeight = cGame_g.getFontPixelSize() * 3;
	
		for(int i = 0; i < TEXT.INGAME_HELP_BUTTON.length; i++)
		{
			if(cGame_g.getStringWidth(TEXT.INGAME_HELP_BUTTON[i]) > maxWidth)
				maxWidth = cGame_g.getStringWidth(TEXT.INGAME_HELP_BUTTON[i]);
			
			totalHeight = totalHeight + cGame_g.getFontHeight() + cGame_g.getFontPixelSize();
		}
	
		#ifdef USE_DRAWRGB
		cGame_g.setColor(MENUS.MAIN_MENU_BACKGROUND_COLOR);
		cGame_g.drawAlphaRect(INGAME.VIEWPORT_X + INGAME.INGAME_HELP_VIEWPORT_OFFSET, INGAME.VIEWPORT_Y + INGAME.INGAME_HELP_VIEWPORT_OFFSET, maxWidth + cGame_g.getFontPixelSize() * 7, totalHeight, MENUS.MAIN_MENU_ALPHA_LEVEL);
		#else
		cGame_g.setColor(MENUS.MAIN_MENU_BACKGROUND_COLOR);
		cGame_g.fillRect(INGAME.VIEWPORT_X + INGAME.INGAME_HELP_VIEWPORT_OFFSET, INGAME.VIEWPORT_Y + INGAME.INGAME_HELP_VIEWPORT_OFFSET, maxWidth + cGame_g.getFontPixelSize() * 7, totalHeight);
		#endif
		cGame_g.setColor(INGAME.TOKEN_BORDER_COLOR);
		cGame_g.drawRect(INGAME.VIEWPORT_X + INGAME.INGAME_HELP_VIEWPORT_OFFSET, INGAME.VIEWPORT_Y + INGAME.INGAME_HELP_VIEWPORT_OFFSET, maxWidth + cGame_g.getFontPixelSize() * 7, totalHeight);
		
		cGame_g.setFontColor(MENUS.MAIN_MENU_FOREGROUND_COLOR);
		
		for(int i = 0; i < TEXT.INGAME_HELP_BUTTON.length; i++)
		{
			cGame_g.drawString(TEXT.INGAME_HELP_BUTTON[i], INGAME.VIEWPORT_X + INGAME.INGAME_HELP_VIEWPORT_OFFSET + cGame_g.getFontPixelSize() * 2, INGAME.VIEWPORT_Y + INGAME.INGAME_HELP_VIEWPORT_OFFSET + cGame_g.getFontPixelSize() * 2 + cGame_g.getFontHeight() * i + cGame_g.getFontPixelSize() * i, DSmallFont.TOP | DSmallFont.LEFT);
		}
		
		cGame_g.setFont(DGraph.FONT_BIG);
	}